package com.practice.web.controller.response.user;

import com.practice.domain.user.User;

/**
 * Created by Administrator on 2016/8/20.
 */
public class UserDetailResponseBean {
  private Long id;
  private String username;
  private String email;

  public UserDetailResponseBean(User user) {
    id = user.getId();
    username = user.getUsername();
    email = user.getEmail();
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }
}
